package com.gun.management.module.task.controller.admin.taskRewardRecord.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 任务奖励记录信息新增/修改 Request VO")
@Data
public class TaskRewardRecordSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;

    @Schema(description = "任务id", example = "31978")
    private Long taskId;

    @Schema(description = "会员用户id", example = "5059")
    private Long userId;

    @Schema(description = "用户上传图片url(任务截图)", example = "http://****.com/images/test.png")
    private String taskScreenshot;

    @Schema(description = "奖励积分", example = "10")
    private Integer rewardScore;

    @Schema(description = "奖励时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "2024-10-22")
    @NotNull(message = "奖励时间不能为空")
    private LocalDateTime rewardTime;

    @Schema(description = "审核状态(0-待审核 1-审核通过 2-审核拒绝)，对应数据字典audit_status", example = "1")
    private Integer auditStatus;

    @Schema(description = "审核人id", example = "1")
    private Long auditUserId;

    @Schema(description = "审核意见", example = "不香")
    private String auditReason;

}